﻿using System;
using EntityFramework.Database.Management;

namespace Sample.Application
{
    public class StuffRepository : Repository<Stuff>, IStuffRepository
    {
        public StuffRepository(IObjectContextProvider contextProvider) : base(contextProvider)
        {
        }

        public Stuff Load(int id)
        {
            return Find(s => s.ID == id);
        }
    }
}